﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data.SqlServerCe;
using System.Windows;
using System.Configuration;

namespace MedicineTrackerWPF
{
    public partial class Database
    {
        #region Attributes
        private SqlCeConnection _sqlConnection;
        #endregion

        #region Properties
        protected SqlCeConnection SqlConnection { get { return _sqlConnection; } }
        #endregion

        #region Constructor
        public Database()
        {
            _sqlConnection = new SqlCeConnection(ConfigurationManager.ConnectionStrings["App_DataConnectionString"].ToString());
        }
        #endregion
    }
}
